package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.pojo.sms.Sms_Home_Subject_Spu;
import com.shop.utils.LayuiUtils;
import com.shop.utils.R;

import java.util.List;

/**
 * 后台专题列表关联的专题商品-李贝贝
 */
public interface Sms_Home_Subject_Spu_Service {

    /**
     * 后台显示所有专题列表关联的专题商品
     * @param page
     * @param sms_home_subject_spu
     * @return
     */
    LayuiUtils<Sms_Home_Subject_Spu> find_admin_sms_home_subject_spu(Page<Sms_Home_Subject_Spu> page, Sms_Home_Subject_Spu sms_home_subject_spu);

    /**
     * 后台添加专题列表关联的专题商品
     * @param sms_home_subject_spu
     * @return
     */
    R insert_sms_home_subject_spu(Sms_Home_Subject_Spu sms_home_subject_spu);

    /**
     * 后台删除专题列表关联的专题商品
     * @param id
     * @return
     */
    R delete_sms_home_subject_spu(List<Long> id);

    /**
     * 后台修改专题列表关联的专题商品
     * @param sms_home_subject_spu
     * @return
     */
    R update_sms_home_subject_spu(Sms_Home_Subject_Spu sms_home_subject_spu);
}
